Skip to content

Conversation

@rockbmb
Copy link
Collaborator

@rockbmb rockbmb commented Nov 15, 2025

Closes #93 .

This issue will perform the necessary changes to try-runtime-cli to publish it on crates.io.

  • Change dependencies from being pinned to a GitHub revisions to referring to their latest tag on crates.io (ideally from the same release, but Polkadot SDK packages are not released in lockstep)
  • Correct any code broken by the new dependency versions
  • Fix tests
  • Publish on crates.io

@ggwpez will ping you when it's time for the last step.

@rockbmb rockbmb self-assigned this Nov 15, 2025
@rockbmb rockbmb added enhancement New feature or request dependencies Pull requests that update a dependency file crates.io Version management on crates.io. labels Nov 15, 2025
@rockbmb rockbmb force-pushed the crates-publishing-cleanup branch from afb983d to 873bdea Compare November 24, 2025 16:26
These tests used `assert_cmd::carg::cargo_bin`, which is deprecated.
It is meant to be replaced with the macro `assert_cmd::cargo_bin!`,
which required tests to be moved to the `cli` crate.
If tests hadn't been moved, that macro would fail to find the binary,
as the `CARGO_BIN_EXE_*` environment variable with the absolute path
to a binary target’s executable would not have been set.
Moving the tests causes it to be set, and the macro then works.

See https://doc.rust-lang.org/beta/cargo/reference/environment-variables.html
The previous commit added a `dev-dependencies` section to the root `Cargo.toml`,
which is not allowed.
Live mode works with either ws(s):// or http(s):// in --uri. The endpoint
is converted to HTTP for state download and to WS for block/header RPC.

This is a temporary workaround until frame-remote-externalities restores
proper WS transport support in a future release; see
paritytech/polkadot-sdk#10258,
paritytech/polkadot-sdk#10766, and
paritytech/polkadot-sdk#10779 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crates.io Version management on crates.io. dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish try-runtime-cli to crates.io

2 participants